<template>
    <svg class="y-icon">
        <use :xlink:href="`#icon-${name}`" />
    </svg>
</template>
<script>
    export default {
        props:['name']
    }
</script>

<style lang="scss">
    .y-icon {
        width: 1em;
        height: 1em;
    }
</style>